<style>
    .upload-image {
        background: url('__CDN__/assets/addons/example/img/plus.png') no-repeat center center;
        background-size: 30px 30px;
        height: 30px;
        width: 30px;
        border: 1px solid #ccc;
    }

    textarea.form-control {
        background: #eee;
    }
</style>
<div class="row">
    <div class="col-md-6">

            <div class="panel-body">

                <form id="first-form" role="form" data-toggle="validator" method="POST" action="">

                  {volist name="lists" id='list' }


                    <div class="form-group row">
                        <label class="control-label col-xs-12 col-sm-2">{$list.name}:</label>
                        <div class="col-xs-12 col-sm-8">

                            <div class="input-group">
                                <div class="input-group-addon">
                                    <input type="checkbox" name="services[{$list.id}][status]" value="1" {if condition="$list.status eq 1"}checked{/if}>
                                </div>

                                <input type="hidden" name="services[{$list.id}][id]" value="{$list.id}">

                                <div class="input-group-addon">价格:</div>
                                <input type="number" step="0.01" name="services[{$list.id}][price]" class="form-control" value="{$list.money}" placeholder="平台默认价格：0.01元/次">
                            </div>
                        </div>
                    </div>

                    {/volist}

                    <div class="form-group row">
                        <label class="control-label col-xs-12 col-sm-2"></label>
                        <div class="col-xs-12 col-sm-8">
                            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
                        </div>
                    </div>

                </form>
            </div>
        </div>


</div>
